/*
 * Copyright (c) 2007 The Trustees of Indiana University. All rights reserved.
 * IU CSCI B534 Distributed Systems 2007-02-01 http://www.cs.indiana.edu/classes/b534
 */

package edu.indiana.cs.b534.torrent.message;

import java.util.List;

public interface TrackerResponse{
	/** which maps to the number of seconds the downloader should wait between regular rerequests */
    public int getInterval();
    /** list of peers returned from Tracker */
    public List<PeerDictionary> getPeers();
    public String getFailureReason();

    public void setInterval(int interval_);
    public void setPeers(List<PeerDictionary> peers_);
    public void setFailureReason(String failureReason_);

}

